<?php
/*$this->pageTitle = Yii::app()->name;
$this->breadcrumbs = array(
    'Đăng nhập',
);*/
?>
<div class="form" id="login">
    <?php
    /* @var $this SiteController
     * @var $form CActiveForm
     * @var $model LoginForm
     */

    $form = $this->beginWidget('CActiveForm', array(
        'id' => 'login-form',
        'htmlOptions' => array('class'=>'box-shadow'),
        'enableClientValidation' => true,
        'clientOptions' => array(
            'validateOnSubmit' => true,
        ),
    )); ?>

    <!--    <p><img src="--><?php //echo Yii::app()->request->baseUrl; ?><!--/images/lntlogo.png"/></p>-->
    <div class="hint">Nhập tài khoản và mật khẩu đăng nhập vào lnt.</div>
    <div class="row">
        <?php echo $form->labelEx($model, 'username'); ?>
        <?php echo $form->textField($model, 'username'); ?>
        <?php echo $form->error($model, 'username'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model, 'password'); ?>
        <?php echo $form->passwordField($model, 'password'); ?>
        <?php echo $form->error($model, 'password'); ?>
    </div>
    <div class="row buttons">
        <?php echo CHtml::submitButton('Đăng ký'); ?>
    </div>

    <?php $this->endWidget(); ?>
</div><!-- form -->
